#ifndef _SHELL_OTHERPLAYERINFO_BEAN_H_
#define _SHELL_OTHERPLAYERINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class OtherPlayerInfo : public Bean
{
	public:
	OtherPlayerInfo();
	~OtherPlayerInfo();
	void reset();
	OtherPlayerInfo* clone();
	//角色id
	int64 roleId;
	//等级
	int32 level;
	//角色名称
	string roleName;
	//所属门派
	int32 playerType;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
